home *** CD-ROM | disk | FTP | other *** search
/ Power CD-ROM!! 8 / Power CD-ROM 8.iso / prgmming / oldutil / boot.doc < prev    next >
Encoding:
Text File  |  1994-12-10  |  4.8 KB  |  133 lines

  1.  
  2.  
  3.              B O O T
  4.  
  5.                by
  6.                DUANE VOTH
  7.               and
  8.                GREG GILLEY
  9.  
  10. BOOT is a program which will allow you to expand the incredibly small
  11. environment space (128 bytes) supplied with DOS 2.0 and DOS 3.0.
  12. (Didn't those guys ever use these machines?)  Basically, it allows
  13. you to set up your environment with extra space so it won't fill up
  14. as quickly.  (Unless of course you set up 32K worth of variables,
  15. which is the absolute max, and then you probably deserve any
  16. problems you get).
  17.  
  18. Read the DOS documentation for the CONFIG.SYS files. Then specify the
  19. following line in CONFIG.SYS
  20.  
  21. shell=c:\boot.exe
  22.  
  23. (You can have whatever else the DOS manual describes in the
  24. CONFIG.SYS file, but be sure to include this line).
  25.  
  26. BOOT requires a file call ENV to hold the initial environment
  27. variables.  To keep the size of BOOT down, no checking is done
  28. on the format of the file.  (besides, it's written in assembly!)
  29. The variable names must be in all caps.  Values may be in lower
  30. case, but the value of the COMSPEC variable seems to be required
  31. to be in caps.  The format of ENV is identical to what you get
  32. when you type "SET" on the command line.  In fact, if you want
  33. to change ENV to reflect your current set of environment
  34. variables just enter
  35.  
  36. SET >ENV
  37.  
  38. This redirects the output of the SET command into the file ENV.
  39.  
  40. **** WARNING ****
  41.  
  42.  
  43. COMSPEC MUST BE SPECIFIED!! ALL HELL BREAKS LOOSE IF YOU DON'T.
  44. Make sure you have the variable:
  45.  
  46. COMSPEC=C:\COMMAND.COM    defined in your ENV file.
  47.  
  48. A sample ENV file follows.  Use any text editor to create it.
  49. However, you must make sure the editor places a CTRL-Z (the DOS
  50. end-of-file indicator) at the end of the file.  PMATE 3.37 will
  51. not unless you specifically put one in. NO BLANK LINES!
  52.  
  53.  
  54. COMSPEC=C:\COMMAND.COM
  55. PATH=C:\CMD;C:\BIN
  56. PROMPT=$e[A$e[K$p$g
  57. OBJ=C:\lib
  58. INCLUDE=c:\usr\include\
  59. A=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  60. B=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  61. C=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  62. D=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  63. E=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  64. F=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  65. G=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  66. H=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  67. ^Z
  68.  
  69. (Whenever drives are referenced in this documentation,
  70.  we are referring to the drive the machine boots from.
  71.  i.e., the C: drive specifier is for a hard disk on an
  72.  IBM PC.  For a floppy based system, use A:.
  73.  Use whatever is appropriate for your booting device.)
  74.  
  75. The A thru H variables serve to expand the environment
  76. space.  By deleting A thru H in your AUTOEXEC.BAT file,
  77. the space they used will be freed for other variables.
  78. To delete these dummy environment variables, place the
  79. following lines in AUTOEXEC.BAT.  Be sure that there are
  80. no tab or space characters after the equal signs.
  81.  
  82. SET A=
  83. SET B=
  84. .
  85. .
  86. .
  87. SET H=
  88.  
  89. You can add more if you still run out of room during batch file
  90. execution.  DOS will not expand your environment in a batch file,
  91. it will only expand it if a SET command is issued from the DOS prompt.
  92.  
  93.  
  94. NOTE:  BOOT.EXE, ENV, and COMMAND.COM must all be in the root directory
  95.        of the booting device. (Usally drive C: on an IBM or drive E: on
  96.        a TIPC).
  97.  
  98. For those of us who hate using the backslash ("\") as a path separator,
  99. boot will also work on machines whose switch character (See DOS manual
  100. under CONFIG.SYS) has been changed.  It will not, however, update the
  101. environment to reflect the new switch and possibly path separator.
  102. *** The ENV file is loaded verbatim ***.
  103.  
  104. We are distributing this program under the concept of user-supported
  105. software.  This means that you get the program for free and pay us
  106. only if you find it useful.  (We hope you find it useful).  We are
  107. asking $10 to cover the time we took to write, debug, document and
  108. distribute it.  (If you use it on your business computer, you can
  109. probably afford a little more.  We ask $20 from professionals who can
  110. write the expense off as petty cash.)  We will keep a list of people
  111. who do pay and let them know of updates, bug fixes, new products, etc.
  112. Please include your address and type of machine!  Also those who pay
  113. will get a phone number they can call if they have problems.
  114. (A lot of support for $10!).
  115.  
  116. Please send the checks to:
  117.  
  118.                 Greg Gilley
  119.                  3524 Greystone #106
  120.                  Austin, TX  78731
  121.  
  122.  
  123. The "flagship" BBS for distribution of BOOT is:
  124.  
  125.                 The Confusion Research Center
  126.                  (512) 471-5167 (24hrs, 300/1200)
  127.                  RBBS-PC based system
  128.  
  129. You can also leave messages about problems to us there as well.
  130.  
  131. PS.  This program was written on a TI Professional Computer.  A
  132.      great machine!
  133.